package demo1;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: wx
 * Date: 2023-09-11
 * Time: 18:58
 */

/*class Solution {

     public int countSegments(String s) {
         if(s.length() == 0 ) {
             return 0;
         }
         String[] ret = s.split("  ");
         System.out.println(ret.length);
         return ret.length;

          int count = 0;

         for (String s1:ret) {
             if(s.length()!=0) {
                 count++;
             }
         }


    }
};*/
public class Test {
    public static void main(String[] args) {

    }
}
